// cover some element-ui styles

.el-divider--horizontal {
  margin-bottom: 10px;
  margin-top: 10px;
}

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type='file'] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.fixed-width__button {
  .el-button--mini {
    padding: 7px 10px;
    // width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

/*-------------Dialog-------------**/
.el-overlay {
  overflow: hidden;

  .el-overlay-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;

    .el-dialog {
      margin: 0 auto !important;

      .el-dialog__body {
        padding: 15px !important;
      }
    }
  }
}

.el-dialog__body {
  max-height: calc(90vh - 111px) !important;
  overflow-y: auto;
  overflow-x: hidden;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse > div > .el-submenu > .el-submenu__title .el-submenu__icon-arrow {
  display: none;
}

.el-dropdown .el-dropdown-link {
  color: var(--el-color-primary) !important;
}
.el-button--default {
  width: 52px;
  height: 32px;
}
.el-message-box {
  // width: 305px !important;
  padding: 16px 0 20px 0 !important;
  background: #FFFFFF;
  .el-message-box__header {
    .el-message-box__title {
      display: none;
    }
    .el-message-box__headerbtn {
      width: 16px;
      height: 16px;
      top: 0 !important;
    }
  }
  .el-message-box__content {
    position: relative;
    .el-message-box__container {
      position: absolute;
      width: max-content;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
  .el-message-box__btns {
    display: flex;
    justify-content: center;
    .el-button {
      width: 65px;
      height: 32px;
      margin-top: 32px;
    }
  }
}
.el-table--fit {
  border-top: 1px solid #D9D9D9 !important;
  border-left: 1px solid #D9D9D9 !important;
  border-right: 1px solid #D9D9D9 !important;
  border-radius: 6px;
  :deep(.cell){
    padding-left: 24px;
  }
}
.el-input__wrapper {
  box-shadow: 0 0 0 1px #D9D9D9 inset !important;
}
.el-input__inner::placeholder {
  color: #D9D9D9!important;
}
